#ifndef _SMAPLE_DRV_ADAPTER_H_
#define _SMAPLE_DRV_ADAPTER_H_
#include "gd32f30x.h"
#include <stdio.h>
#include <stdbool.h>
#include "mmc.h"
#include "middle.h"
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "ntc_drv.h"
#include "ap3216_drv.h"
#include "total_config.h"

typedef struct {
    bool (*p_sensor_init)(void);
    int (*p_sensor_sample_value)(void);
} sample_drv_adapter_api_t;

extern sample_drv_adapter_api_t g_sample_temp_drv_adapter_api;
extern sample_drv_adapter_api_t g_sample_bright_drv_adapter_api;


/**
 * @desc  : 采集驱动适配层初始化
 * @date  : 2025-11-11
 * @author: AnRui
 * @note  : 绑定驱动函数指针、初始化传感器、创建采集任务
 */
void sample_drv_adapter_init(void);
#endif
